[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-12 Thread Hans Hagen
On 3/12/2024 8:57 AM, Max Chernoff wrote: Hi all, Often I want to include a sentence/paragraph in the middle of a long multipart formula. With the old \startalign/\stopalign formulas, I could use \intertext{...} to do this, but this doesn't work with the new \alignhere/\breakhere formulas. I've

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-12 Thread Hans Hagen
On 3/12/2024 8:57 AM, Max Chernoff wrote: Hi all, Often I want to include a sentence/paragraph in the middle of a long multipart formula. With the old \startalign/\stopalign formulas, I could use \intertext{...} to do this, but this doesn't work with the new \alignhere/\breakhere formulas. I've

[NTG-context] \intertext and highlighting with \alignhere/\breakhere

2024-03-12 Thread Max Chernoff
Hi all, Often I want to include a sentence/paragraph in the middle of a long multipart formula. With the old \startalign/\stopalign formulas, I could use \intertext{...} to do this, but this doesn't work with the new \alignhere/\breakhere formulas. I've managed to find a "sol

[NTG-context] Re: Math alignment issue

2024-01-17 Thread Otared Kavian
{bla bla bla bla} \NR \stopalignedcases \stopformula \stopplaceformula \samplefile{knuthmath} \startplaceformula \startformula \startalign[location=packed,n=2,m=2,align={1:right,2:left},fences=cases] \NC u'(t) - \nabla \cdot

[NTG-context] Re: Math alignment issue

2024-01-17 Thread Otared Kavian
= 0      \NC \mtext{bla bla bla bla} \NR \stopalignedcases \stopformula\stopplaceformula\samplefile{knuthmath}\startplaceformula \startformula \startalign[location=packed,n=2,m=2,align={1:right,2:left},fences=cases] \NC u'(t) - \nabla \cdot (a(x)\nabla u) + Vu \NC = 0      \NC \NC \mtext{bla bla

[NTG-context] Re: Question to a formular

2024-01-08 Thread Ursula Hermann
lp me please? > > > \starttyping > 0! := 1 > (n + 1)! := (n + 1) n! > \stoptyping Or: \startformula \startalign[n=1,align={1:left}] \NC 0! := 1\NR \NC (n + 1)! := (n + 1) n!\NR \stopalign \stopformula https://wiki.context

[NTG-context] Re: Question to a formular

2024-01-05 Thread Ursula Hermann
> > I have this formular, but no idea , how to write it in Context. This is a > formular with factorial. > > > 0! := 1 > (n + 1)! := (n + 1) n! > > Can someone help me please? \starttext \startformula \startalign \NC 0! \NC \colonequals 1 \NR \NC (n+1)! \NC \co

[NTG-context] Re: Question to a formular

2024-01-05 Thread Taco Hoekwater
> On 05/01/2024 14:27, Ursula Hermann wrote: > >> Can someone help me please? > > > \starttyping > 0! := 1 > (n + 1)! := (n + 1) n! > \stoptyping Or: \startformula \startalign[n=1,align={1:left}] \NC 0! := 1\NR \NC (n + 1)! := (n + 1) n!\NR

[NTG-context] Re: Question to a formular

2024-01-05 Thread Aditya Mahajan
On Fri, 5 Jan 2024, Ursula Hermann wrote: > Dear list, > > > I have this formular, but no idea , how to write it in Context. This is a > formular with factorial. > > > 0! := 1 > (n + 1)! := (n + 1) n! > > Can someone help me please? \starttext \star

[NTG-context] Re: formula alignment for mathalign

2023-09-28 Thread Mikael Sundqvist
gt; A = B > \stopformula > > vs > > \startformula \startalign > \NC A \NC B \NR > \NC A \NC B \NR > \stopalign \stopformula > \stoptext > > The first display formula is flush left, but the aligned formula is centered > on the page. This appears to be a regression com

[NTG-context] formula alignment for mathalign

2023-09-28 Thread Aditya Mahajan
Hi, The `align` parameter of `\setupformulas` is ignored in mathalign. Consider the following MWE: \setupformulas[align=flushleft,leftmargin=2em] \starttext \startformula A = B \stopformula vs \startformula \startalign \NC A \NC B \NR \NC A \NC B \NR \stopalign \stopformula \stoptext

[NTG-context] Re: split align in formulas

2023-08-14 Thread Mikael Sundqvist
; james-tanton-web}. > \placeformula[eq:james-tanton-canvi-de-variables] > \startformula > \startalign > \NC ax^2 + bx + c = 0 \NC \NR > \NC ax^2 + bx = -c \NC \quad \text{transposem } c\NR > \NC x^2 + \frac{b}{a} x = - \frac{c}{a} \NC \quad \text{dividim per }a\NR > \NC x \left( x + \frac{

[NTG-context] split align in formulas

2023-08-14 Thread Xavier B.
I have this text and the end of the paragraph: Definitivament és el mètode més senzill. L'atribució més antiga que conec d'aquest mètode és de James Tanton \cite{canvi-variable-equacio-segon-grau, james-tanton-web}. \placeformula[eq:james-tanton-canvi-de-variables] \startformula \startalign \NC

[NTG-context] Re: Nested aligns in formulasjj

2023-08-14 Thread Gerion Entrup
Am Montag, 14. August 2023, 13:44:44 CEST schrieb Mikael Sundqvist: > Hi, > > I do not understand what you want to have, so here is just something > weird, but probably you look for simplealign. > > \definemathsimplealign > [whatever] > > \starttext > \startformu

[NTG-context] Re: Nested aligns in formulasjj

2023-08-14 Thread Gerion Entrup
Am Montag, 14. August 2023, 13:33:33 CEST schrieb Hans Hagen: > On 8/14/2023 1:16 PM, Gerion Entrup wrote: > > Hi, > > > > I try to typeset a nested align in a formula. However, the results looks > > really wrong. Here is a MWE: > > > > ``` > > \st

[NTG-context] Re: Nested aligns in formulasjj

2023-08-14 Thread Mikael Sundqvist
Hi, I do not understand what you want to have, so here is just something weird, but probably you look for simplealign. \definemathsimplealign [whatever] \starttext \startformula \startalign \NC a = \NC (b, c) \quad \mtext{with}\NR \NC \NC \startwhatever \NC b \NC = something \NR \NC c \NC

[NTG-context] Re: Nested aligns in formulasjj

2023-08-14 Thread Hans Hagen
On 8/14/2023 1:16 PM, Gerion Entrup wrote: Hi, I try to typeset a nested align in a formula. However, the results looks really wrong. Here is a MWE: ``` \starttext \startformula \startalign \NC a = \NC (b, c) \quad \text{with}\NR \NC \NC \startalign

[NTG-context] Nested aligns in formulasjj

2023-08-14 Thread Gerion Entrup
Hi, I try to typeset a nested align in a formula. However, the results looks really wrong. Here is a MWE: ``` \starttext \startformula \startalign \NC a = \NC (b, c) \quad \text{with}\NR \NC \NC \startalign \NC b \NC

Re: [NTG-context] Math alignment question

2022-09-23 Thread Mikael Sundqvist via ntg-context
fine. > > > > Since I usually use the following code that is adopted from My > > Way(Mathalign.pdf), I’d like to know that there is a way to use > > “\alignhere, \breakhere, \skiphere” for the case below? > > > > \startformula\startalign > > \NC A \NC

Re: [NTG-context] Math alignment question

2022-09-23 Thread Aditya Mahajan via ntg-context
df), I’d like to know that there is a way to use “\alignhere, > \breakhere, \skiphere” for the case below? > > \startformula\startalign > \NC A \NC = 3 \NR > \NC B \NC = 5 \NR > \stopalign\stopformula The way I see it is that the current implementation is that it is way to break a _

[NTG-context] Math alignment question

2022-09-22 Thread Jeong Dal via ntg-context
below? \startformula\startalign \NC A \NC = 3 \NR \NC B \NC = 5 \NR \stopalign\stopformula Thank you. Best regards, Dalyoung ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] underbrace under matrix

2022-08-04 Thread Mikael Sundqvist via ntg-context
C 4\NC 2\NR > \stoppmatrix}\NR > \stopmathalignment\stopformula > \stoptext > > How can I achieve this? > > Jethro Hi Jethro, Temporary workaround: use the simplecommand. \definemathmatrix[pmatrix][matrix:parentheses][ simplecommand=pmatrix, ] \starttext % \placeformula[

[NTG-context] Bug in startalign

2022-07-21 Thread Stefan Haller via ntg-context
Hi! I (presumably) found a bug in the recent math changes of the latest upload. If a cell of the startalign environment is empty, something internally to the macro seems to be breaking. Minimal example: \starttext \startformula \startalign \NC \NC a \NR \NC b \NC c \NR \stopalign

[NTG-context] mframed and alignment width

2022-07-14 Thread Hans-Joerg Schurr via ntg-context
doesn't span the entire text width. Here is an example: \starttext \startformula \startalign[m=3, n=1,distance=2em plus 1 fil] \NC 1 \NC 2 \NC 3 \NR \NC 4 \NC 5 \NC 6 \NR \stopalign \stopformula \startformula \mframed[frame=off,bottomframe=on,leftframe=on]{ \startalign[m=3, n=1,distance=2em plus

Re: [NTG-context] Numbering in mathalignment not working

2022-05-24 Thread Mikael Sundqvist via ntg-context
On Wed, May 25, 2022 at 5:35 AM Luis Montgomery via ntg-context wrote: > > Same issue with > > \placeformula > \startformula > \startalign[number=auto] > \NC A_1 x + B_1 y + C_1\NC = 0 \NR[+] > \NC A_2 x + B_2 y + C_2\NC = 0 \NR[+] > \stopalign > \stopformula > &

Re: [NTG-context] Numbering in mathalignment not working

2022-05-24 Thread Luis Montgomery via ntg-context
Same issue with \placeformula \startformula \startalign[number=auto] \NC A_1 x + B_1 y + C_1\NC = 0 \NR[+] \NC A_2 x + B_2 y + C_2\NC = 0 \NR[+] \stopalign \stopformula and with all the wiki examples on \startmathalignment ( https://wiki.contextgarden.net/Command/_startmathalignment). L

Re: [NTG-context] upload

2022-03-30 Thread Otared Kavian via ntg-context
=(,right=),text=] \def\eqref#1{\informula[eq:#1]} \starttext Using \type{\startmathfenced} and \type{\startalign} we can number each equation, but the left brace is too far from the formula: \startplaceformula \startformula \startmathfenced[cases] \startalign[n=3,align={1:right,2:left,3:left}] \NC

Re: [NTG-context] Equation alignment

2021-09-07 Thread Jeong Dal via ntg-context
Dear Sylvain, I am using ’\startalign’ > > \starttext > \startformula > \eqalign{ > ax^2+bx+c &= 0 \cr > x &= \frac{-b \pm \sqrt{b^2-4ac}}{2a} \cr > } > \stopformula > \stoptext > \starttext \startformula \startalign \NC ax^2 + bx + c \NC = 0 \NR \NC x \

[NTG-context] Math cases and text in math mode

2021-07-06 Thread Jack Hill
if the whole text is wrapped in {\em ...}, the text in the formulae are in roman font. I've tried the following: \starttext {\em \startformula \startalign[align=left] \NC {\rm multiple words of text} \NR % Does not provide spacing \NC \mathrm{multiple words of text} \NR % Does not provide spacing

[NTG-context] Extra space in align if tagging is enabled

2021-01-13 Thread Mikael Sundqvist
\startalign \NC A \NC = B\NR \stopalign \stopformula \samplefile{knuth} \startformula \startalign \NC A \NC = B \stopalign \stopformula \samplefile{knuth} \stoptext ___ If your question is of interest to others as well, please

Re: [NTG-context] Math align not working

2021-01-09 Thread Johann Birnick
Hi Aditya, thank you very much, now I need to specify the alignment only for one "column" and it gets applied for all of them. However, there is still the problem with the standard setting of the alignment. For example, \starttext \startformula \startalign[m=2, align={right,left}]

Re: [NTG-context] Math align not working

2021-01-01 Thread Aditya Mahajan
On Fri, 1 Jan 2021, Hans Hagen wrote: > On 1/1/2021 8:21 AM, Aditya Mahajan wrote: > > \startformula \startalign[m=2,distance=8em,n=5, > > align={right,middle,middle,middle,left, right,middle,middle,middle,left}] > > \NC 0 \NC < \NC 2x + 5y \NC < \NC 10 > > \NC 4

Re: [NTG-context] Math align not working

2021-01-01 Thread Hans Hagen
On 1/1/2021 8:21 AM, Aditya Mahajan wrote: \startformula \startalign[m=2,distance=8em,n=5, align={right,middle,middle,middle,left, right,middle,middle,middle,left}] \NC 0 \NC < \NC 2x + 5y \NC < \NC 10 \NC 4 \NC < \NC 3x + y \NC < \NC 9 \NR \NC 3 \NC < \NC 2y + 3z \NC < \NC 15

Re: [NTG-context] Math align not working

2020-12-31 Thread Aditya Mahajan
On Wed, 30 Dec 2020, Johann Birnick wrote: > Okay, but I think it's a bug, because as you see in the linked pdf it worked > the > simple way some years ago... Yes, something has changed internally. Earlier, if you used: \startalign[align={right,left}, n=4] ... \stopalign then the

Re: [NTG-context] Math align not working

2020-12-30 Thread Johann Birnick
; \starttext > > \startformula \startalign[m=2,distance=8em,n=5, > align={right,middle,middle,middle,left,right,middle,middle,middle,left}] > \NC 0 \NC < \NC 2x + 5y \NC < \NC 10 > \NC 4 \NC < \NC 3x + y \NC < \NC 9 \NR > \NC 3 \NC < \NC 2y + 3z \NC < \NC 15 > \NC 10\NC <

Re: [NTG-context] Math align not working

2020-12-30 Thread Hans Åberg
One has to indicate the align pattern for all columns, otherwise it defaults to left, it seems: \starttext \startformula \startalign[m=2,distance=8em,n=5, align={right,middle,middle,middle,left,right,middle,middle,middle,left}] \NC 0 \NC < \NC 2x + 5y \NC < \NC 10 \NC 4 \NC < \NC 3

Re: [NTG-context] Math align not working

2020-12-30 Thread Johann Birnick
n Birnick > > > wrote: > > > > > > Hi there, > > > > > > I noticed that Math align is not working properly. In particular I mean > > > the > > > alignment. For example, the following code > > > > > > > > > \starttext

Re: [NTG-context] Math align not working

2020-12-30 Thread Alain Delmotte
owing code \starttext      \startformula \startalign[m=2,distance=8em,n=5, align={right,middle,middle,middle,left}] \NC 0 \NC < \NC 2x + 5y \NC < \NC 10 \NC 4 \NC < \NC 3x + y \NC < \NC 9 \NR \NC 3 \NC < \NC 2y +

Re: [NTG-context] Math align not working

2020-12-29 Thread Johann Birnick
rticular I mean the > > alignment. For example, the following code > > > > > > \starttext       > >    > > > > \startformula \startalign[m=2,distance=8em,n=5, > > align={right,middle,middl

Re: [NTG-context] Math align not working

2020-12-29 Thread Otared Kavian
rticular I mean the > alignment. For example, the following code > > > \starttext > > > \startformula \startalign[m=2,distance=8em,n=5, > align={right,middle,middle,middle,left}] > \NC 0 \NC < \NC 2x +

[NTG-context] Math align not working

2020-12-29 Thread Johann Birnick
Hi there, I noticed that Math align is not working properly. In particular I mean the alignment. For example, the following code \starttext \startformula \startalign[m=2,distance=8em,n=5, align={right,middle,middle,middle

Re: [NTG-context] Several lines under a limit

2020-11-28 Thread Fabrice Couvreur
a command that allows to write multiple lines under the command > > \lim ? > > I tried but ... > > Cordially > > Fabrice > > > > \starttext > > \startformula > >\lim_{ > > \vbox{\startalign > >\NC x \to 2 \NR > &

Re: [NTG-context] Several lines under a limit

2020-11-28 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 28.11.2020 um 15:57: Hi, Is there a command that allows to write multiple lines under the command \lim ? I tried but ... Cordially Fabrice \starttext \startformula   \lim_{     \vbox{\startalign       \NC x \to 2 \NR       \NC x > 2   \NR     \stopal

[NTG-context] Several lines under a limit

2020-11-28 Thread Fabrice Couvreur
Hi, Is there a command that allows to write multiple lines under the command \lim ? I tried but ... Cordially Fabrice \starttext \startformula \lim_{ \vbox{\startalign \NC x \to 2 \NR \NC x > 2 \NR \stopalign}}=+\infty \stopformula \stopt

Re: [NTG-context] Converting from LaTeX for PDF accessibility tagging?

2020-06-28 Thread Alasdair McAndrew
typing, look into tab completion for your editor > of choice. For example, in vim, I can do `for` which expands to > `\startformula ... \stopformula` and `fora` expands to `\startformula > \startalign ... \stopalign \stopformula`. > > > However, I need now to use ConTeXt for acc

Re: [NTG-context] Converting from LaTeX for PDF accessibility tagging?

2020-06-28 Thread Aditya Mahajan
can do `for` which expands to `\startformula ... \stopformula` and `fora` expands to `\startformula \startalign ... \stopalign \stopformula`. However, I need now to use ConTeXt for accessibility tagging, so I'm prepared to give it another try. And this means converting some LaTeX documents

Re: [NTG-context] How to calculate the height of text of a certain width?

2020-03-24 Thread Wolfgang Schuster
\input ward } \copy0 wd0=\the\wd0, ht0=\the\ht0 \vskip12pt \startalign[flushleft] \setbox1=\vbox{\hsize=300pt\input ward } \stopalign \copy1 wd1=\the\wd1, ht1=\the\ht1 \stoptext - The .pdf-file is appended When you need the height for the laye

Re: [NTG-context] How to calculate the height of text of a certain width?

2020-03-24 Thread Rudolf Bahr
wd0=\the\wd0, ht0=\the\ht0 \vskip12pt \startalign[flushleft] \setbox1=\vbox{\hsize=300pt\input ward } \stopalign \copy1 wd1=\the\wd1, ht1=\the\ht1 \stoptext - The .pdf-file is appended Now to your proposal, Wolfgang: > > \starttexdefinition Nextb

Re: [NTG-context] math align broken

2019-12-16 Thread Jeong Dal
aligned display mode \startformula\startalign[m=2] \NC 2^7 \equiv \qquad \NC \pmod {341}, \NC 14^7 \equiv \qquad \NC \pmod {341}, \NR \NC 11^7 \equiv \qquad \NC \pmod {341}, \NC 3^7 \equiv \qquad \NC \pmod {341}, \NR \stopalign\stopformula \startformula\startalign[n=3

Re: [NTG-context] math align broken

2019-12-15 Thread Otared Kavian
y > (from http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip, a fresh > install in the folder), and found some strange things with math: > > The file > > %%% EXAMPLE > \starttext > \startformula > \startalign > \NC \int e^{2x}\sin 3x\,dx\NC=\int\Im e^{(2+3i)x}\,dx\NR

[NTG-context] math align broken

2019-12-15 Thread Mikael P. Sundqvist
Hi, I hope this report is not a duplicate of another one. I updated lmtx today (from http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip, a fresh install in the folder), and found some strange things with math: The file %%% EXAMPLE \starttext \startformula \startalign \NC \int e^{2x

Re: [NTG-context] Some questions regarding math typesetting

2019-12-06 Thread Otared Kavian
are saying in your message. But I don't know what you are trying to achieve with two \startalign...\stopalign in the same formula. Best regards: OK > On 6 Dec 2019, at 09:24, TeXnician wrote: > > Dear list, > > while doing some math typesetting, I have found the following feature

[NTG-context] Some questions regarding math typesetting

2019-12-06 Thread TeXnician
://tex.stackexchange.com/questions/518262/context-number-formulas-side-by-side \placeformula \startformulas \startformula \startalign[number=auto] \NC a \NC= b \NR \stopalign \stopformula \startformula \startalign[number=auto] \NC a \NC= b \NR \stopalign \stopformula

Re: [NTG-context] eqalign

2019-11-22 Thread Wolfgang Schuster
no...@posteo.org schrieb am 22.11.2019 um 09:04: OK, thanks for the tip! It works indeed. PS: There appears to be no mention of \startalign in the manual. Which manual? Is this going to be a stable interface? Probably: http://dl.contextgarden.net/myway/mathalign.pdf \eqalign, \eject used

Re: [NTG-context] eqalign

2019-11-22 Thread Otared Kavian
Hi, Indeed \startalign has been there from the beginning (as far as I can remember) and it is stable. In fact, as expalined by Aditya, you can define your own align environment, for special purposes. for instance I have: \definemathmatrix[alignedcases] [align={right,left,left

Re: [NTG-context] eqalign

2019-11-22 Thread nohop
OK, thanks for the tip! It works indeed. PS: There appears to be no mention of \startalign in the manual. Is this going to be a stable interface? \eqalign, \eject used to work in ConTeXt. On November 20, 2019 11:41:09 AM UTC, Otared Kavian wrote: >Hi, > >Indeed in ConTeXt one has bett

Re: [NTG-context] eqalign

2019-11-20 Thread Otared Kavian
Hi, Indeed in ConTeXt one has better to use \startalign. Please see the excellent explanations by Aditya http://dl.contextgarden.net/myway/mathalign.pdf Best regards: OK > On 20 Nov 2019, at 09:01, no...@posteo.org wrote: > > Dear All, > > The command \eqalig

Re: [NTG-context] List of Symbols/Abbreviations/Glosses with more then two entries

2019-10-11 Thread Thomas Welter
ection[title=List of Tables] \placelistoftables \stopsection \startsection[title=List of Symbols] \placelistofsymbols \stopsection \stopfrontmatter \startbodymatter \startsection[title=Symbols] \startsubsection[title=Using the Symbols] \placeformula \startsubformulas \startformula \startalign \NC \frac{d

Re: [NTG-context] follow up

2019-04-02 Thread Hans Hagen
] \definefontsize [e] \definebodyfontenvironment [default] [e=3.5] \starttext \strut\vfill \startalign[center] {\tfe conText is fun} \blank[10mm] {\em ( ijver & vlijt 8+ )} \stopalign \vfill\strut \stoptext this is the old version this is the new output With osx preview? How small can you

Re: [NTG-context] follow up

2019-04-02 Thread Floris van Manen
=empty, no] \setupbodyfontenvironment [default] [em=italic] \definefontfamily [myfamily] [serif] [TeX Gyre Termes] \setupbodyfont [myfamily, 10pt] \definefontsize [e] \definebodyfontenvironment [default] [e=3.5] \starttext \strut\vfill \startalign[center] {\tfe conText is fun} \blank[10mm] {\em

Re: [NTG-context] Bug when mathmatrix is used inside mathalign

2019-03-27 Thread Aditya Mahajan
On Wed, 27 Mar 2019, Hans Hagen wrote: On 3/27/2019 4:56 PM, Aditya Mahajan wrote: Hi, It was reported on TeX.SE[1] that there is a bug when math matrix is used inside a math align: \starttext \startformula     \startalign[n=2,align={right,left}]     \NC x     \NC = a ~ long

Re: [NTG-context] Bug when mathmatrix is used inside mathalign

2019-03-27 Thread Hans Hagen
On 3/27/2019 4:56 PM, Aditya Mahajan wrote: Hi, It was reported on TeX.SE[1] that there is a bug when math matrix is used inside a math align: \starttext \startformula     \startalign[n=2,align={right,left}]     \NC x     \NC = a ~ long ~ sequence ~ of ~ terms     \NR

Re: [NTG-context] Bug when mathmatrix is used inside mathalign

2019-03-27 Thread Hans Hagen
On 3/27/2019 4:56 PM, Aditya Mahajan wrote: Hi, It was reported on TeX.SE[1] that there is a bug when math matrix is used inside a math align: \starttext \startformula     \startalign[n=2,align={right,left}]     \NC x     \NC = a ~ long ~ sequence ~ of ~ terms     \NR

[NTG-context] Bug when mathmatrix is used inside mathalign

2019-03-27 Thread Aditya Mahajan
Hi, It was reported on TeX.SE[1] that there is a bug when math matrix is used inside a math align: \starttext \startformula \startalign[n=2,align={right,left}] \NC x \NC = a ~ long ~ sequence ~ of ~ terms \NR \NC y \NC = ok ~ left \NR

Re: [NTG-context] Equivalent of alignat of amsmath with context

2019-01-05 Thread Fabrice Couvreur
Hi Wolfgang and OK, > What is the result you get with LaTeX? > > > > Is this what you are looking for? > This is the expected result, thank you. Fabrice Le sam. 5 janv. 2019 à 16:45, Otared Kavian a écrit : > Hi Fabrice, > > I think you have to use >

Re: [NTG-context] Equivalent of alignat of amsmath with context

2019-01-05 Thread Otared Kavian
Hi Fabrice, I think you have to use \startalign[n=3,align={left,right}] and finish the alignment with \stopalign Is this what you are looking for? \starttext \startformula \startalign[n=3,align={left,right}] \NC \qquad \NC\frac{\lvert\overline{AD}\rvert}{\lvert\overline{CD

[NTG-context] Font fallback

2018-12-03 Thread Hans Åberg
] \starttext \startformula \startalign \NC 푨₀ 0 ₁ 1 ₂ 2 ₃ 3 ₄ 4 ₅ 5 ₆ 6 ₇ 7 ₈ 8 ₉ 9 ₊ + ₋ - ₌ = ₍ ( ₎ )\NR \NC 푩⁰ 0 ¹ 1 ² 2 ³ 3 ⁴ 4 ⁵ 5 ⁶ 6 ⁷ 7 ⁸ 8 ⁹ 9 ⁺ + ⁻ - ⁼ = ⁽ ( ⁾ )\NR \stopalign \stopformula \starttyping 푨₀ 0 ₁ 1 ₂ 2 ₃ 3 ₄ 4 ₅ 5 ₆ 6 ₇ 7 ₈ 8 ₉ 9

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Henning Hraban Ramm
gns show up > in the example below in the typing and text environments, though all correct > in the formula environment. > > > — > \setupbodyfont[stix,10pt] > > \starttext > > \startformula > \startalign > \NC 푨₀ 0 ₁ 1 ₂ 2 ₃ 3 ₄ 4 ₅ 5 ₆ 6 ₇ 7 ₈ 8 ₉

[NTG-context] Typing Unicode subscript and superscript numbers

2018-12-01 Thread Hans Åberg
Only some of the Unicode subscript and superscript numbers and signs show up in the example below in the typing and text environments, though all correct in the formula environment. — \setupbodyfont[stix,10pt] \starttext \startformula \startalign \NC 푨₀ 0 ₁ 1 ₂ 2 ₃ 3 ₄ 4 ₅ 5 ₆ 6

Re: [NTG-context] Subformula numbering

2018-11-26 Thread luigi scarso
On Mon, Nov 26, 2018 at 8:40 AM adrien Licari wrote: > Hi everyone, > > I can't get cases subformula to work properly. My MWE, inspired from the > wiki and the My Way "Using \startalign and friends" by Aditya Mahajan, is : > > \starttext\placeformula\startformula >

[NTG-context] Subformula numbering

2018-11-25 Thread adrien Licari
Hi everyone, I can't get cases subformula to work properly. My MWE, inspired from the wiki and the My Way "Using \startalign and friends" by Aditya Mahajan, is : \starttext\placeformula\startformula \startcases \NC x = a \NR[+] \NC y = b \NR[+] \stopcases\stopformul

[NTG-context] split long formula in two pages

2018-08-28 Thread Jeong Dal
Dear all, Sometime ago, I asked about the splitting the long formula. Since it is seldom to have a long formula, I manually break the formula using \startformula\startalign … formula \stopalign\stopformula \startformula\startalign … formula

Re: [NTG-context] closesymbol on same line as displayed formula

2018-08-28 Thread Jeong Dal
er simple proof that ends with a formula \startformula 1+1=2. \placeclosesymbol \stopformula \stopproof \startproof \startitemize[n] \item first line. \item Here is an example. \startformula \cosh x + \sinh x = e^x,~~\cosh x - \sinh x = e^{-x} \stopformula The next formula is following:

[NTG-context] split long formula in two pages

2018-08-26 Thread Jeong Dal
Dear all, Sometimes, I wrote a long formula using \startformula\startalign … \stopalign\stopformula. In that case, if the remaining space in the current page is not enough to contain the formula, then it adds ‘page break’ and write the whole formula int the new page. I have read a discussion

Re: [NTG-context] referencing the equation

2018-08-09 Thread Henri Menke
I usually define my own reference formats, “ineq” for equations, “infig” for figures: \definereferenceformat[ineq][left=(,right=)] \definereferenceformat[infig][left=\labeltext{figure}] \starttext \starttext \placeformula \startformula \startalign \NC a_1 x + b_1 y \NC = c_1 \NR[eq:1] \NC

Re: [NTG-context] referencing the equation

2018-08-09 Thread Jeong Dal
Schuster > 작성: > > When you look at the first example in section 4.1 you can see that the > parentheses are inserted by hand. > > %% > \starttext > > \placeformula > \startformula \startalign > \NC a_1 x + b_1 y \NC = c_1 \NR[eq:1] > \NC a_

Re: [NTG-context] referencing the equation

2018-08-09 Thread Wolfgang Schuster
When you look at the first example in section 4.1 you can see that the parentheses are inserted by hand. %% \starttext \placeformula \startformula \startalign \NC a_1 x + b_1 y \NC = c_1 \NR[eq:1] \NC a_2 x + b_2 y \NC = c_2 \NR[eq:2] \stopalign \stopformula As seen from (\in[eq:1

[NTG-context] issues with \typesetbuffer

2018-04-18 Thread Pablo Rodriguez
] \setupinteractionscreen[option=paper, copies=5] \startbuffer[a] \showframe \setuppapersize[A5] \setuppagenumbering[location=] \setuplayout[width=middle] \starttext \mbox{}\vfill \startalign[middle] \dontleavehmode \framedtext[width=10cm

[NTG-context] \xmldoifelseempty

2018-03-18 Thread Pablo Rodriguez
} \xmldoifelseempty{#1}{../pre[contains(@class,'fullwidth')]} {\startalign[center]\dontleavehmode\typesetbuffer[whereever][width=.5\textwidth]\stopalign} {\startalign[center]\dontleavehmode\typesetbuffer[whereever][width=\textwidth]\stopalign} \stopxmlsetups \starttext \xmlprocessbuffer{main

Re: [NTG-context] \eqalign not working in latest beta

2018-03-01 Thread Alan Bowen
OK—thanks for the mkiv alternative to \eqalign. Alan On Thu, Mar 1, 2018 at 2:36 PM, Otared Kavian <ota...@gmail.com> wrote: > Hi Alan, > > I think in mkiv one is supposed to use rather the \startalign...\stopalign > structure, as in the following: > > \starttext > &g

Re: [NTG-context] \eqalign not working in latest beta

2018-03-01 Thread Otared Kavian
Hi Alan, I think in mkiv one is supposed to use rather the \startalign...\stopalign structure, as in the following: \starttext \startformula \startalign \NC t_{L,\text{early}} \NC = t_{L,\text{late}} = t_{L,\text{ray}} \NR \NC\NC = 6\ \mu m \NR \stopalign \stopformula \stoptext Best regards

Re: [NTG-context] Word and character count excluding TeX-directives

2018-01-16 Thread Rik Kabel
\startalign \NC a =\NC b \NR \NC c =\NC d \NR \stopalign \stopformula And stop. \stoptext Try something based on this: \startluacode     userdata = userdata or { }     function userdata.wordcount(listname)     filename = file.addsuffix(tex.jobname,"

[NTG-context] Word and character count excluding TeX-directives

2018-01-16 Thread Dr . Thomas Möbius
and residuals $e_{jt}$ on the y-axis}, reference={fig:subject-residual}] \externalfigure[residuals][height=.242\textheight] \stopplacefigure And some more text with $x$ and $y$ and $z$, and \placeformula \startformula \startalign \NC a =\NC b \NR \NC c =\NC d \NR \stopalign \stopformula

Re: [NTG-context] issue with css selector in lpath

2017-12-14 Thread Hans Hagen
} %~ \xmlsetsetup{#1}{{#header}}{xml:header:id} \xmlsetsetup{#1}{{id="header"}}{xml:header:id} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:header \start

Re: [NTG-context] issue with css selector in lpath

2017-12-14 Thread Pablo Rodriguez
mlsetsetup{#1}{{#header}}{xml:header:id} \xmlsetsetup{#1}{{id="header"}}{xml:header:id} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:header \startalign[left]\xmlflush{#1}\

Re: [NTG-context] Problem with math alignment

2017-11-12 Thread Otared Kavian
\stopalignedcases \stopformula \startformula \startalign[n=3,align={right,left,left}] \NC \partial_{tt} u - \Delta u + q(x) u \NC = 0 \NC \quad\mbox{in }\; (0,T)\times\Omega \NR \NC - \Delta v \NC = q(x) \partial_{t}u \NC \quad\mbox{in }\; \Omega \NR \stopalign \stopformula \startformula \startalignedcases

Re: [NTG-context] concatenating attribute values in XML

2017-08-07 Thread Pablo Rodriguez
lass,'sidebyside')]/p} {xml:sidebyside} \xmlsetsetup{\xmldocument} {[contains(@class,'sidebyside')]/p/img} {xml:image:sidebyside} \startxmlsetups xml:sidebyside \blank\startalign[center] \dontleavehmode \xmlflush{#1} \stopalign\bla

Re: [NTG-context] concatenating attribute values in XML

2017-08-06 Thread Pablo Rodriguez
olve it. This is what I have in the XML file: This is what I tried in the environment file: \startxmlsetups xml:sidebyside \blank\startalign[center] \dontleavehmode \externalfigure[\xmlattribute{#1}{./p/img}{src}] [width=.5\textwid

Re: [NTG-context] concatenating attribute values in XML

2017-08-06 Thread Hans Hagen
On 8/6/2017 11:37 AM, Pablo Rodriguez wrote: Dear list, I have the following definition: \startxmlsetups xml:image:sidebyside \blank\startalign[center] \dontleavehmode \externalfigure[\xmlattribute{#1}{./p/img}{src}] [width=.5\textwidth

[NTG-context] concatenating attribute values in XML

2017-08-06 Thread Pablo Rodriguez
Dear list, I have the following definition: \startxmlsetups xml:image:sidebyside \blank\startalign[center] \dontleavehmode \externalfigure[\xmlattribute{#1}{./p/img}{src}] [width=.5\textwidth] %~ \xmlconcat{#1}{./p/img

Re: [NTG-context] eqalignno failin

2017-04-27 Thread Meer, Hans van der
ian <ota...@gmail.com<mailto:ota...@gmail.com>> wrote: It is better to use the construction such as: \placeformula \startformula \startalign \NC H(I,J) \NC = H(I) + H(J|I) \NR[eq:equivoc] \NC W(I,J) \NC = H(J) - H(J|I) \NR[eq:wedinfo] \stopalign \stopformula Below I illustrate why this

Re: [NTG-context] eqalignno failing

2017-04-26 Thread Otared Kavian
Hi Hans, Since a few weeks (or months?…) ago the use of \eqno and \eqalignno has been changed in mkiv. It is better to use the construction such as: \placeformula \startformula \startalign \NC H(I,J) \NC = H(I) + H(J|I) \NR[eq:equivoc] \NC W(I,J) \NC = H(J) - H(J|I) \NR[eq:wedinfo] \stopalign

Re: [NTG-context] closesymbol on same line as displayed formula

2017-03-21 Thread Mohammad Hossein Bateni
; >>> \stopproof > >>> > >>> \startproof > >>> This is another short proof, ending with the formula > >>> \startformula > >>> 1+1=2. > >>> \stopformula > >>> \stopproof > >>> > >>> \startproof >

Re: [NTG-context] closesymbol on same line as displayed formula

2017-03-21 Thread Mikael P. Sundqvist
>> >>> \startproof >>> This is a short proof. >>> \stopproof >>> >>> \startproof >>> This is another short proof, ending with the formula >>> \startformula >>> 1+1=2. >>> \stopformula >>> \

Re: [NTG-context] closesymbol on same line as displayed formula

2017-03-20 Thread Aditya Mahajan
proof, ending with the formula \startformula 1+1=2.\placeclosesymbol \stopformula \stopproof \startproof This is a rather advanced proof, ending with formulas \startformula \startalign \NC 1+1 \NC = 2,\NR \NC 2+2 \NC = 4.\NR \stopalign \stopformula \stopproof \startproof This is a rather advanced

Re: [NTG-context] closesymbol on same line as displayed formula

2017-03-20 Thread Otared Kavian
\stopproof >> >> \startproof >> This is another short proof, ending with the formula >> \startformula >> 1+1=2.\placeclosesymbol >> \stopformula >> \stopproof >> >> >> >> \startproof >> This is a rather advanced proof, ending wit

Re: [NTG-context] closesymbol on same line as displayed formula

2017-03-20 Thread Mikael P. Sundqvist
another short proof, ending with the formula > \startformula > 1+1=2. > \stopformula > \stopproof > > \startproof > This is another short proof, ending with the formula > \startformula > 1+1=2.\placeclosesymbol > \stopformula > \stopproof > > > > \startproo

[NTG-context] closesymbol on same line as displayed formula

2017-03-14 Thread Mikael P. Sundqvist
, ending with formulas \startformula \startalign \NC 1+1 \NC = 2,\NR \NC 2+2 \NC = 4.\NR \stopalign \stopformula \stopproof \startproof This is a rather advanced proof, ending with formulas \startformula \startalign \NC 1+1 \NC = 2,\NR \NC 2+2 \NC = 4.\placeclosesymbol\NR \stopalign \stopformula

[NTG-context] list items not broken in lines

2017-03-06 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start, color=, style=, contrastcolor=] \enabledirectives[references.border] \startsetups[placelist:section] \startalign[center] \setupinterlinespace[line=2.8ex] \placelist[section

Re: [NTG-context] align text and formula

2017-02-09 Thread Jan Willem Flamma
nke <henrime...@gmail.com> wrote: >> >> Hi Jan, >> >> if I understood you correctly, this should produce what you are after. >> >> \starttext >> >> \startformula >> E = mc^2 >> \stopformula >> >> \startformula >>

  1   2   3   4   5   >